[INFO] cloning repository https://github.com/vhuynhle/atomics-locks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vhuynhle/atomics-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhuynhle%2Fatomics-locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhuynhle%2Fatomics-locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a7a05bd0b1099112712e4e056856c3354f90fbc
[INFO] fixing vhuynhle/atomics-locks against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvhuynhle%2Fatomics-locks" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vhuynhle/atomics-locks
[INFO] finished tweaking git repo https://github.com/vhuynhle/atomics-locks
[INFO] tweaked toml for git repo https://github.com/vhuynhle/atomics-locks written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vhuynhle/atomics-locks on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vhuynhle/atomics-locks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a
[INFO] running `Command { std: "docker" "start" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating ch01/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch04/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch05/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch06/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch08/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating ch09/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking ch05 v0.1.0 (/opt/rustwide/workdir/ch05)
[INFO] [stderr]     Checking ch07 v0.1.0 (/opt/rustwide/workdir/ch07)
[INFO] [stderr]     Checking ch01 v0.1.0 (/opt/rustwide/workdir/ch01)
[INFO] [stderr]     Checking ch03 v0.1.0 (/opt/rustwide/workdir/ch03)
[INFO] [stderr]     Checking ch06 v0.1.0 (/opt/rustwide/workdir/ch06)
[INFO] [stderr]    Migrating ch05/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed ch05/src/unsafe_oneshot_channel.rs (2 fixes)
[INFO] [stderr]    Migrating ch03/src/bin/relaxed_ordering.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/experiment.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch01/src/bin/07-thread-parking.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/relaxed_ordering_total_modification_order.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/lazy_init_with_indirection.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/measure_bg_thread_writes.rs from 2021 edition to 2024
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Migrating ch01/src/bin/01-spawn.rs from 2021 edition to 2024
[INFO] [stderr]     Checking atomic-wait v1.1.0
[INFO] [stderr]    Migrating ch01/src/bin/08-condvar.rs from 2021 edition to 2024
[INFO] [stderr]     Checking ch09 v0.1.0 (/opt/rustwide/workdir/ch09)
[INFO] [stderr]     Checking ch08 v0.1.0 (/opt/rustwide/workdir/ch08)
[INFO] [stderr]    Migrating ch03/src/bin/relaxed_ordering_total_modification_order_v2.rs from 2021 edition to 2024
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Migrating ch03/src/bin/sequentially_consistent_ordering.rs from 2021 edition to 2024
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Migrating ch06/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 S.push('!');
[INFO] [stdout]    |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |             unsafe { S.push('!') };
[INFO] [stdout]    |                      ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if S.is_empty() {
[INFO] [stdout]    |            ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         } else if S.len() == 1 {
[INFO] [stdout]    |                   ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 S.push('!');
[INFO] [stdout]    |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |             unsafe { S.push('!') };
[INFO] [stdout]    |                      ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if S.is_empty() {
[INFO] [stdout]    |            ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         } else if S.len() == 1 {
[INFO] [stdout]    |                   ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating ch03/src/bin/release_acquire_fence.rs from 2021 edition to 2024
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Migrating ch05/src/bin/unsafe_oneshot_channel_usage.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch01/src/bin/06-mutex.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch09/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch08/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/acquire_release.rs from 2021 edition to 2024
[INFO] [stderr]     Checking ch02 v0.1.0 (/opt/rustwide/workdir/ch02)
[INFO] [stderr]     Checking ch04 v0.1.0 (/opt/rustwide/workdir/ch04)
[INFO] [stderr]    Migrating ch01/src/bin/05-interior-mutability.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/measure_bg_thread_writes_adjacent.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/measure_single_thread.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/spawn_join.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/locking.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/measure_no_false_sharing.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             DATA.push('!');
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:30:36
[INFO] [stdout]    |
[INFO] [stdout] 30 |         println!("{}, length: {}", DATA, DATA.len());
[INFO] [stdout]    |                                    ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:30:42
[INFO] [stdout]    |
[INFO] [stdout] 30 |         println!("{}, length: {}", DATA, DATA.len());
[INFO] [stdout]    |                                          ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating ch09/src/bin/mutex_benchmark.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch08/src/bin/futex.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_id_allocation.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch04/src/bin/spinlock_3.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_progress_reporting_sync.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_progress_reporting_multiworkers.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_stop_flag.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/compare_exchange_id_allocation.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/compare_exchange_lazy_init.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_nocircular.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_statistics.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_progress_reporting.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch04/src/bin/spinlock_1.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch04/src/bin/spinlock_2.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_nosync.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch02/src/bin/relaxed_ordering_lazy_init.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch07/src/bin/measure_bg_thread.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch01/src/bin/02-scope-thread.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             DATA.push('!');
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:30:36
[INFO] [stdout]    |
[INFO] [stdout] 30 |         println!("{}, length: {}", DATA, DATA.len());
[INFO] [stdout]    |                                    ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/locking.rs:30:42
[INFO] [stdout]    |
[INFO] [stdout] 30 |         println!("{}, length: {}", DATA, DATA.len());
[INFO] [stdout]    |                                          ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating ch01/src/bin/03-shared-ownership.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ch03/src/bin/acquire_release_unsafe.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/acquire_release_unsafe.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("{}", DATA);
[INFO] [stdout]    |                        ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating ch01/src/bin/04-borrowing.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/acquire_release_unsafe.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("{}", DATA);
[INFO] [stdout]    |                        ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.75s
[INFO] [stderr] crater-edition-check: ch01 v0.1.0 (/opt/rustwide/workdir/ch01) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch02 v0.1.0 (/opt/rustwide/workdir/ch02) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch03 v0.1.0 (/opt/rustwide/workdir/ch03) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch04 v0.1.0 (/opt/rustwide/workdir/ch04) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch05 v0.1.0 (/opt/rustwide/workdir/ch05) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch06 v0.1.0 (/opt/rustwide/workdir/ch06) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch07 v0.1.0 (/opt/rustwide/workdir/ch07) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch08 v0.1.0 (/opt/rustwide/workdir/ch08) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ch09 v0.1.0 (/opt/rustwide/workdir/ch09) updating edition from 2021 to 2024
[INFO] [stderr]     Checking ch05 v0.1.0 (/opt/rustwide/workdir/ch05)
[INFO] [stderr]     Checking ch07 v0.1.0 (/opt/rustwide/workdir/ch07)
[INFO] [stderr]     Checking ch03 v0.1.0 (/opt/rustwide/workdir/ch03)
[INFO] [stderr]     Checking ch01 v0.1.0 (/opt/rustwide/workdir/ch01)
[INFO] [stderr]     Checking ch09 v0.1.0 (/opt/rustwide/workdir/ch09)
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/acquire_release_unsafe.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         println!("{}", DATA);
[INFO] [stdout]    |                        ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch03` (bin "acquire_release_unsafe" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 S.push('!');
[INFO] [stdout]    |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |             unsafe { S.push('!') };
[INFO] [stdout]    |                      ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if S.is_empty() {
[INFO] [stdout]    |            ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> ch03/src/bin/sequentially_consistent_ordering.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         } else if S.len() == 1 {
[INFO] [stdout]    |                   ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> ch09/src/mutex_v1.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock(&self) -> MutexGuard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock(&self) -> MutexGuard<'_, T> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> ch09/src/mutex_v2.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn lock(&self) -> MutexGuard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn lock(&self) -> MutexGuard<'_, T> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> ch09/src/mutex_v3.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn lock(&self) -> MutexGuard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn lock(&self) -> MutexGuard<'_, T> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch03` (bin "sequentially_consistent_ordering") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a", kill_on_drop: false }`
[INFO] [stdout] 23032c8baa96de8b2b1c0a2e94ccf3e3c546625fcf5627ebf810d724318ed92a
